home *** CD-ROM | disk | FTP | other *** search
- #define creatorType 'gBug'
- #ifdef __APPLEEVENTS__
- #define bugEventClass 'gBug'
-
- #define getBugWindowEvent 'gBWi'
- #define selectBugWindowPartEvent 'gBWP'
- #define pasteBugTextEvent 'gBPa'
- #define waitThenContinueEvent 'gBWa'
-
- #define errorString 'errS'
- #define chooseWindowPartBoolean 'cWPB'
- #define quitGraphicsApBoolean 'qGAB'
- #endif
-
- typedef enum {
- noticeMessage,
- warningMessage,
- errorMessage,
- debugMessage,
- commandMessage
- } graphicsBugRequests;
-
- typedef enum {
- noAction,
- executeCommand
- } graphicsBugCommands;
-
- typedef enum {
- graphicsBugReady,
- graphicsBugRunning,
- graphicsBugBusy,
- lastCommandError
- } graphicsBugStatus;
-
- struct graphicsBugParameters {
- long message;
- unsigned char command;
- unsigned char status;
- unsigned char toggle;
- char string[81];
- } ;
-
- #define maximumIdle 25
-
- boolean SendMessageToGraphicsBug(long command, const char *str, unsigned long num, boolean waitForCompletion);
- void DirectDebugMessageToGraphicsBug(void);
-